<?php echo $header; ?>

<div id="containner">

    <?php echo $column_left; ?>

    <div id="midcol">

        <div align="center">

        </div>

        <div align="center" id="banner4">  <a title="Phần mềm đăng ký thông tin cho sim Vina Mobi Viettel" alt="sim so dep, sim dep, sim so, simsodep, so dep, sim gia re, sim so dep gia re, sim dien thoai, sim viettel " href="#sim-dep-sim-so-dep-1981/phan-mem-dang-ky-thong-tin-cho-sim-vina-mobi-viettel.html" target="blank"><img src="catalog/view/theme/simsodep/image/phan-mem-dang-ky-thong-tin-cho-sim-vina-mobi-viettel.png"></a></div>
        <div id="ctl00_ContentPlaceHolder1_GridViewControl1_UpdateProgress1" style="display:none;">

            <div align="center" style="position:fixed;top:0px;right:20px;margin-top:10px;margin-right:10px;background-color:#FFFF80;color:Maroon;line-height:30px;width:150px;font-weight:bold;">
                <img src="catalog/view/theme/simsodep/image/progress.gif" style="vertical-align:middle;"> Đang tải dữ liệu ...
            </div>

        </div>
        <div align="center">

            <table cellspacing="0" border="0" id="ctl00_ContentPlaceHolder1_frmThongTinSim" style="width:100%;border-collapse:collapse;">

                <tr>

                    <td colspan="2">

                        <div class="TitleBar" align="left"><a title="Sim Số Ðẹp " alt="sim so dep, sim dep, sim so, simsodep, so dep, sim gia re, sim so dep gia re, sim dien thoai, sim viettel " target="_blank" href="">Sim Số Đẹp </a> : <a title="Sim So Dep" target="_blank" href=''><?php echo $heading_title; ?></a></div>

                        <br />



                        <table align="center" border="0" cellpadding="5" cellspacing="0" width="450" class="ThongTinSim">

                            <tr>

                                <td colspan="2" style="color:#ff990d;"> <center> <a title="SIM SỐ ĐẸP LỘC PHÁT " alt="sim so dep, sim dep, sim so, simsodep, so dep, sim gia re, sim so dep gia re, sim dien thoai, sim viettel " target="_blank" href="">SIM SỐ ĐẸP</a> :<b> <a title="Sim So Dep" target="_blank" href='/sim-so-dep-15480/093.390.6886-0933906886.html'><?php echo $heading_title; ?></a></center></td>

                </tr>



                <tr>

                    <td>Giá bán : </td>

                    <td>
                        <?php if ($display_price) { ?>
                            <?php if (!$special) { ?>
                                <span id="ctl00_ContentPlaceHolder1_frmThongTinSim_lblGiaBan"><?php echo $price; ?></span> <sup>VNÐ</sup>
                            <?php } else { ?>
                                <span id="ctl00_ContentPlaceHolder1_frmThongTinSim_lblGiaBan"><?php echo $special; ?></span> <sup>VNÐ</sup>
                            <?php }
                        } ?>
                    </td>

                </tr>

                <tr>

                    <td>Nhà mạng : </td>

                    <td>
                        <?php if ($manufacturer) { ?>
                            <a title="<?php echo str_replace('&', '&amp;', $manufacturers); ?>" alt="sim so dep, sim dep, sim so, simsodep, so dep, sim gia re, sim so dep gia re, sim dien thoai, sim viettel " target="_blank" href=""><?php echo $manufacturer; ?></a> 
                        <?php } ?>
                    </td>

                </tr>

                <tr>

                    <td>Loại sim : </td>

                    <td>

                        <a title="<?php echo $category; ?>" alt="sim so dep, sim dep, sim so, simsodep, so dep, sim gia re, sim so dep gia re, sim dien thoai, sim viettel " target="_blank" href=""><?php echo $category; ?></a> 

                    </td>

                </tr>
                <tr>

                    <td>Tình trạng : </td>

                    <td>

                        <a href="" target="_blank" title="sim so dep"></font></a><?php echo $stock; ?>

                    </td>

                </tr>

            </table>



            </td>

            </tr>

            </table>

        </div>    





        <div id="ctl00_ContentPlaceHolder1_UpdateProgress1" style="display:none;">



            <div align="center" style="position:fixed;top:0px;right:20px;margin-top:10px;margin-right:10px;background-color:#FFFF80;color:Maroon;line-height:30px;width:150px;font-weight:bold;">

                <img src="/hinhanh/progress.gif" style="vertical-align:middle;" /> Ðang tải dữ liệu ...

            </div>



        </div>

        <div id="ctl00_ContentPlaceHolder1_UpdatePanel1">



            <br />

            <div class="TitleBar">Thông tin khách hàng đặt mua sim số đẹp :</div>
            <div class="heading" id="review_title"></div>

            <br />

            <div id="ctl00_ContentPlaceHolder1_panelDatMua">



                <table border="0" cellpadding="5" align="center" cellspacing="0" width="550" class="ThongTinMuaSim">

                    <tr>

                        <td style="width:120px;">

                            <?php echo $entry_name; ?> (<font color="red">*</font>)

                        </td>

                        <td>

                            <input name="name" type="text" maxlength="18" id="ctl00_ContentPlaceHolder1_txtHoTen" style="color:#BFBFBF;background-color:#212121;border-color:#BFBFBF;border-width:1px;border-style:Solid;font-weight:bold;width:300px;" />

                            <br />

                            <span id="ctl00_ContentPlaceHolder1_rfvHoTen" style="color:Red;display:none;">Họ tên không được bỏ trống !</span>

                        </td>

                    </tr>








                    <tr>

                        <td>

                            <?php echo $entry_review; ?>

                        </td>

                        <td>

                            <textarea name="text" rows="5" cols="20" id="ctl00_ContentPlaceHolder1_txtNoiDungKhac" style="color:#BFBFBF;background-color:#212121;border-color:#BFBFBF;border-width:1px;border-style:Solid;font-weight:bold;width:300px;">
                               
                            </textarea>
                            <br/>
                            <?php echo $text_note; ?>
                        </td>

                    </tr>

                    <tr>

                        <td>

                            <?php echo $entry_rating; ?>

                        </td>

                        <td>

                            <span><?php echo $entry_bad; ?></span>&nbsp;
                            <input type="radio" name="rating" value="1" style="margin: 0;" />
                            &nbsp;
                            <input type="radio" name="rating" value="2" style="margin: 0;" />
                            &nbsp;
                            <input type="radio" name="rating" value="3" style="margin: 0;" />
                            &nbsp;
                            <input type="radio" name="rating" value="4" style="margin: 0;" />
                            &nbsp;
                            <input type="radio" name="rating" value="5" style="margin: 0;" />
                            &nbsp; <span><?php echo $entry_good; ?></span>
                        </td>

                    </tr>

                    <tr>

                        <td>Mã bảo vệ (<font color="red">*</font>)</td>

                        <td>

                            <div align="left">

                                <div style='background-color:#212121;'><img src="index.php?route=product/product/captcha" id="captcha"  border='0' width=150 height=35></div>

                                <br />

                                <input  name="captcha" value="" autocomplete="off" type="text" id="ctl00_ContentPlaceHolder1_txtCapCha" style="color:#BFBFBF;background-color:#212121;border-color:#BFBFBF;border-width:1px;border-style:Solid;font-weight:bold;width:150px;" />

                            </div>

                        </td>

                    </tr>

                    <tr>

                        <td>&nbsp;</td>

                        <td>



                            <a onclick="review();" class="button"><span><?php echo $button_continue; ?></span></a>

                            <input type="reset" value="Nhập lại" />



                        </td>

                    </tr>

                </table>

                <br />

                <div style="font-size:12px;color:#bfbfbf; font-weight:bold;">

                    (<font color="red">*</font>): Thông tin bắt buộc

                </div>

                <br />

                <div style="font-size:12px;color:#bfbfbf; font-weight:bold;">

                    Quý khách vui lòng cung cấp đầy đủ thông tin để chúng tôi hoàn tất quá trình đặt sim trong thời gian nhanh nhất.<br /><br /><br /><br />





                </div>





            </div>











        </div>



    </div>   

    <script type="text/javascript">
        $('#review .pagination a').live('click', function() {
            $('#review').slideUp('slow');
		
            $('#review').load(this.href);
	
            $('#review').slideDown('slow');
	
            return false;
        });			

        $('#review').load('index.php?route=product/product/review&product_id=<?php echo $product_id; ?>');

        function review() {
            $.ajax({
                type: 'POST',
                url: 'index.php?route=product/product/write&product_id=<?php echo $product_id; ?>',
                dataType: 'json',
                data: 'name=' + encodeURIComponent($('input[name=\'name\']').val()) + '&text=' + encodeURIComponent($('textarea[name=\'text\']').val()) + '&rating=' + encodeURIComponent($('input[name=\'rating\']:checked').val() ? $('input[name=\'rating\']:checked').val() : '') + '&captcha=' + encodeURIComponent($('input[name=\'captcha\']').val()),
                beforeSend: function() {
                    $('.success, .warning').remove();
                    $('#review_button').attr('disabled', 'disabled');
                    $('#review_title').after('<div class="wait"><img src="catalog/view/theme/default/image/loading_1.gif" alt="" /> <?php echo $text_wait; ?></div>');
                },
                complete: function() {
                    $('#review_button').attr('disabled', '');
                    $('.wait').remove();
                },
                success: function(data) {
                    if (data.error) {
                        $('#review_title').after('<div class="warning">' + data.error + '</div>');
                    }
			
                    if (data.success) {
                        $('#review_title').after('<div class="success">' + data.success + '</div>');
								
                        $('input[name=\'name\']').val('');
                        $('textarea[name=\'text\']').val('');
                        $('input[name=\'rating\']:checked').attr('checked', '');
                        $('input[name=\'captcha\']').val('');
                    }
                }
            });
        }
        //--></script>


    <?php echo $column_right; ?>


    <?php echo $footer; ?>